package com.lhy.framework.aop;


import org.aopalliance.intercept.MethodInterceptor;

/**
 * @Title:
 * @Description: 功能概述: 包装切面通知信息
 * @Author: lihaiyang
 * @version: 1.0 .
 * @Date: 2022-09-13 14:58
 * @Copyright: Copyright(c)2022 RedaFlight.comAll Rights Reserved
 */
public class AdvisedSupport {

    /**
     * 被代理的目标对象
     */
    private TargetSource targetSource;

    /**
     * 方法拦截器
     */
    private MethodInterceptor methodInterceptor;

    /**
     * 方法匹配器（检查目标方法是否符合通知条件）
     */
    private MethodMatcher methodMatcher;

    public TargetSource getTargetSource() {
        return targetSource;
    }

    public void setTargetSource(TargetSource targetSource) {
        this.targetSource = targetSource;
    }

    public MethodInterceptor getMethodInterceptor() {
        return methodInterceptor;
    }

    public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
        this.methodInterceptor = methodInterceptor;
    }

    public MethodMatcher getMethodMatcher() {
        return methodMatcher;
    }

    public void setMethodMatcher(MethodMatcher methodMatcher) {
        this.methodMatcher = methodMatcher;
    }
}
